#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main() {
    int n = 0;
    char arr[21] = { 0 };
    while (scanf("%d", &n)) {
        int L = 0, R = 0;
        R = n - 1;
        int count = n;
        while (count) {
            for (int i = 0; i < n; i++) {
                arr[i] = ' ';
            }
            arr[L] = '*';
            arr[R] = '*';
            for (int i = 0; i < n; i++) {
                printf("%c", arr[i]);
            }
            printf("\n");
                L++;
                R--;
            count--;
        }

    }
    return 0;
}